
// 获取详情
export const getDetail = (axios, id) => {
	return axios({
		url: `/common/product/${id}`,
		method: 'get',
		params: {},
	});
}
// 分享
export const share = (axios, id) => {
	return axios({
		url: `/product/share/${id}`,
		method: 'post',
		params: {},
	});
}
//产品列表
export const getList = (axios,params) => {
	return axios({
		url: '/common/product/list',
		method: 'get',
		params:params,
		headers: {
		  isToken: false,
		},
	});
}
